package com.java.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 课程内容
 * 
 * @author jl
 * @since 2020-10-07 10:31:35
 */
@Data
@TableName("course_content")
public class CourseContent implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 课程id
	 */
    @TableId(type = IdType.INPUT)
    private String id;
	/**
	 * 课程内容
	 */
    @NotBlank(message = "课程内容不能为空")
    private String content;

}
